Skip to content

docs: specify strict:false is only supported by NoSQL DBs#4443

Merged
agnes512 merged 1 commit into
masterfrom
fix-strict
Jan 21, 2020
Merged

docs: specify strict:false is only supported by NoSQL DBs#4443
agnes512 merged 1 commit into
masterfrom
fix-strict

Conversation

@agnes512

@agnes512 agnes512 commented Jan 16, 2020

Copy link
Copy Markdown
Contributor

connects to #4042. Related to loopbackio/loopback-datasource-juggler#1817

Checklist

👉 Read and sign the CLA (Contributor License Agreement) 👈

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

👉 Check out how to submit a PR 👈

Comment thread docs/site/Model.md Outdated
To create a model that allows both well-defined but also arbitrary extra
properties, you need to disable `strict` mode in model settings through the CLI
LB4 supports creating a model that allows both well-defined but also arbitrary extra
properties for **NoSQL** databases such as MongoDB. You need to disable `strict` mode in model settings through the CLI

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this isn't part of your changes, but since the change can't only be done through the CLI, can you mention you can also do it through adding {strict: false} to the model settings manually or say that it can be done through the CLI?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point

@nabdelgadir nabdelgadir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some linter problems but LGTM overall 👍

@agnes512
agnes512 merged commit 4b90eff into master Jan 21, 2020
@agnes512
agnes512 deleted the fix-strict branch January 21, 2020 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants